.class public Lcom/estrongs/android/pop/app/filetransfer/i;
.super Ljava/lang/Object;
.source "HuaweiFileTransfer.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/filetransfer/j;


# instance fields
.field private a:Landroidx/fragment/app/FragmentActivity;

.field private b:Lcom/estrongs/android/pop/app/filetransfer/e;

.field private c:Lcom/estrongs/android/pop/i;


# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentActivity;Lcom/estrongs/android/pop/app/filetransfer/e;)V
    .locals 0
    .param p1    # Landroidx/fragment/app/FragmentActivity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Lcom/estrongs/android/pop/app/filetransfer/e;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->a:Landroidx/fragment/app/FragmentActivity;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->b:Lcom/estrongs/android/pop/app/filetransfer/e;

    .line 4
    new-instance p1, Lcom/estrongs/android/pop/g;

    invoke-direct {p1}, Lcom/estrongs/android/pop/g;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->c:Lcom/estrongs/android/pop/i;

    return-void
.end method

.method private c()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->c:Lcom/estrongs/android/pop/i;

    if-eqz v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->b:Lcom/estrongs/android/pop/app/filetransfer/e;

    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/i;->a(Lcom/estrongs/android/pop/app/filetransfer/e;)V

    :cond_0
    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->c:Lcom/estrongs/android/pop/i;

    if-eqz v0, :cond_0

    .line 4
    invoke-interface {v0}, Lcom/estrongs/android/pop/i;->a()V

    :cond_0
    return-void
.end method

.method public a(Les/ol;)V
    .locals 2

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->c:Lcom/estrongs/android/pop/i;

    if-eqz v0, :cond_0

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->b:Lcom/estrongs/android/pop/app/filetransfer/e;

    invoke-interface {v0, p1, v1}, Lcom/estrongs/android/pop/i;->a(Les/ol;Lcom/estrongs/android/pop/app/filetransfer/e;)V

    :cond_0
    return-void
.end method

.method public synthetic a(Z)V
    .locals 0

    if-eqz p1, :cond_0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/i;->c()V

    goto :goto_0

    :cond_0
    const p1, 0x7f110b88

    .line 2
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    :goto_0
    return-void
.end method

.method public b()V
    .locals 4

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x17

    if-lt v0, v1, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->a:Landroidx/fragment/app/FragmentActivity;

    const-string v1, "android.permission.ACCESS_FINE_LOCATION"

    .line 2
    invoke-static {v0, v1}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I

    move-result v0

    if-nez v0, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/i;->a:Landroidx/fragment/app/FragmentActivity;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper;->a(Landroidx/fragment/app/FragmentActivity;)Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper$b;

    move-result-object v0

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    aput-object v1, v2, v3

    .line 4
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper$b;->a([Ljava/lang/String;)Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/filetransfer/a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/i;)V

    .line 5
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper;->a(Lcom/estrongs/android/pop/app/filetransfer/PermissionHelper$c;)V

    goto :goto_1

    .line 6
    :cond_1
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/i;->c()V

    :goto_1
    return-void
.end method
